from django.urls import path
from . import views

app_name = 'finance'  # 设置命名空间为 'finance'
urlpatterns = [
    path('', views.index, name='index'),  # 配置根路径的视图
    path("visualization/", views.visualization, name='visualization'),
    path("financials/", views.financials, name='financials'),
    path('health_index/', views.health_index, name='health_index'),
    path('debt_risk_analysis/', views.debt_risk_analysis, name='debt_risk_analysis'),
    path('financial_analysis/<int:statement_id>/', views.financial_analysis, name='financial_analysis'),
    path('add/', views.add_financial_statement, name='add_financial_statement'),
    path('statement/', views.financial_statement_list, name='financial_statement_list'),
    path('financial_data_analysis/<int:statement_id>/', views.financial_data_analysis, name='financial_data_analysis'),
]
